<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2020/11/13
  Time: 下午4:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <form action="/register" method="post">
         username:  <input type="text" name="username"><br>
        password:  <input type="text" name="password"><br>
        age:  <input type="text" name="age"><br>
        birthday:  <input type="text" name="birthday"><br>
        hobby:  <input type="checkbox" name="bobby" value="football">足球
        <input type="checkbox" name="bobby" value="basketball">篮球
        <input type="checkbox" name="bobby" value="pingpong">乒乓球<br>
        <input type="submit" value="提交">
    </form>
<hr>
    <form action="/register1">
        <h1>了解</h1>
        username:  <input type="text" name="users[0].username"><br>
        password:  <input type="text" name="users[0].password"><br>
        age:  <input type="text" name="users[0].age"><br>
        birthday:  <input type="text" name="users[0].birthday"><br>
        hobby:  <input type="checkbox" name="users[0].bobby" value="football">足球
        <input type="checkbox" name="users[0].bobby" value="basketball">篮球
        <input type="checkbox" name="users[0].bobby" value="pingpong">乒乓球<br>

        <br>
        username:  <input type="text" name="users[1].username"><br>
        password:  <input type="text" name="users[1].password"><br>
        age:  <input type="text" name="users[1].age"><br>
        birthday:  <input type="text" name="users[1].birthday"><br>
        hobby:  <input type="checkbox" name="users[1].bobby" value="football">足球
        <input type="checkbox" name="users[1].bobby" value="basketball">篮球
        <input type="checkbox" name="users[1].bobby" value="pingpong">乒乓球<br>

        <input type="submit" value="提交">
    </form>
    <br><hr>
<h1>

    <a href="/delete?id=10">删除（传统）</a>
    <a href="/delete/10">删除（REST）</a>
    <a href="/update/12/张三">修改（REST）</a>
</h1>



</body>
</html>
